package com.bnz.factory;

import com.bnz.pojo.Student;

public class StudentBeanFactory {

    public Student getStudent(){
        System.out.println("使用工厂方法创建对象。。");
        return new Student();
    }
}
